package com.xxwu.springiocdi.controller;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

//配置文件相关代码
@RestController
public class PropertiesController {
    @Value("${xy.birth}")
    private String birth;
    @RequestMapping("/getBirth")
    public String getBirth() {
        return birth;
    }
}
